BEGIN;
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE `apitest_book_author`;
TRUNCATE `apitest_author`;
TRUNCATE `apitest_book`;
TRUNCATE `auth_permission`;
TRUNCATE `auth_group`;
TRUNCATE `django_session`;
TRUNCATE `apitest_publisher`;
TRUNCATE `django_content_type`;
TRUNCATE `apitest_authordetail`;
TRUNCATE `auth_group_permissions`;
TRUNCATE `auth_user_groups`;
TRUNCATE `auth_user_user_permissions`;
TRUNCATE `subject`;
TRUNCATE `test_user`;
TRUNCATE `auth_user`;
TRUNCATE `django_admin_log`;
SET FOREIGN_KEY_CHECKS = 1;
COMMIT;
